MemoryConstraint
MemoryConstraint is an option for TestReport and VerificationTest that specifies how much memory (in bytes) the test is allowed to use.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.